#ifndef PROCESSWRAPPER_H
#define PROCESSWRAPPER_H

class ProcessWrapper
{
public:
    ProcessWrapper();

    static unsigned int findProcess(const char *name, unsigned int pid_skip = 0);
    static unsigned int currentProcessId();

    static bool activateProcess(unsigned int pid);
    static bool terminateProcess(unsigned int pid, int wait = 1000);

    static bool sendMessage(unsigned int pid_, unsigned int msg_,
                                     unsigned int param1_, unsigned int param2_);
};

#endif // PROCESSWRAPPER_H
